package com.gibs.peixunapi.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import javax.persistence.*;


/**
 * @author liangjiawei
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
//@Table(name = "actionLog")
public class ActionLog extends BaseModel {	//操作日志
	private String actionPath;     //操作路径

	@ManyToOne
	private User userId;     //用户

	private Date actionTime;     //操作时间

	private String content;     //操作内容

	private String beforeData;     //操作前数据

	private String afterData;     //操作后数据

	private String method;     //请求方法

	private String token;     //请求Tonken

	private String requestParam;     //请求参数


}

